/* ************************************************************************

   Copyright:

   License:

   Authors:

************************************************************************ */

/* ************************************************************************



************************************************************************ */

/**
* This class represents a mapscript referenceMapObj class.
*
*/
qx.Class.define("mmclient.mapscript.ReferenceMapObj",
{
  extend : qx.core.Object,


  /*
  *****************************************************************************
     CONSTRUCTOR
  *****************************************************************************
  */

  construct : function() {
    qx.core.Object.call(this);
  },


  /*
  *****************************************************************************
     PROPERTIES
  *****************************************************************************
  */

  properties :
  {
    /**
    * Color of reference box.
    *
    */
    color :
    {
      check : "Object",
      init : null
    },

    /**
    * Spatial extent of reference in units of parent map.
    *
    */
    extent :
    {
      check : "Object",
      init : null
    },

    /**
    * Height of reference map in pixels.
    *
    */
    height :
    {
      check : "Number",
      init : 0
    },

    /**
    * Filename of reference map image.
    *
    */
    image :
    {
      check : "String",
      init : ""
    },

    /**
    * Reference to parent mapObj.
    *
    */
    map :
    {
      check : "Object",
      init : null
    },

    /**
    * Index of a symbol in the map symbol set to use for marker.
    *
    */
    marker :
    {
      check : "Number",
      init : 0
    },

    /**
    * Name of a symbol.
    *
    */
    markername :
    {
      check : "String",
      init : ""
    },

    /**
    * Size of marker.
    *
    */
    markersize :
    {
      check : "Number",
      init : 0
    },

    /**
    * Pixels.
    *
    */
    maxboxsize :
    {
      check : "Number",
      init : 0
    },

    /**
    * Pixels.
    *
    */
    minboxsize :
    {
      check : "Number",
      init : 0
    },

    /**
    * Outline color of reference box.
    *
    */
    outlinecolor :
    {
      check : "Object",
      init : null
    },

    /**
    * MS_ON or MS_OFF.
    *
    */
    status :
    {
      check : "Number",
      init : 0
    },

    /**
    * In pixels. 
    *
    */
    width :
    {
      check : "Number",
      init : 0
    }
  }
});
